package com.ruoyi.product.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分类对象 categorie
 * 
 * @author ruoyi
 * @date 2025-06-13
 */
public class Categorie extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类id */
    private Long categoryId;

    /** 二级分类 */
    @Excel(name = "二级分类")
    private String categoryName;

    /** 一级分类 */
    @Excel(name = "一级分类")
    private String parentCategoryName;

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setParentCategoryName(String parentCategoryName) 
    {
        this.parentCategoryName = parentCategoryName;
    }

    public String getParentCategoryName() 
    {
        return parentCategoryName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryId", getCategoryId())
            .append("categoryName", getCategoryName())
            .append("parentCategoryName", getParentCategoryName())
            .toString();
    }
}
